/*
 * @Author: xuetao 3168581151@qq.com
 * @Date: 2025-02-14
 * @LastEditors: xuetao 3168581151@qq.com
 * @LastEditTime: 2025-03-15
 * @Description: 对话对象（统合群聊/单聊）
 */

class SessionModel {
  // 会话Id
  final String? conversationId;

  // groupId或userId
  final String id;

  // 会话类型
  final int type;
  // 会话对象名称
  final String name;

  SessionModel({
    this.conversationId,
    required this.id,
    required this.type,
    required this.name,
  });
  @override
  String toString() {
    return 'conversationId:$conversationId, type:$type, id:$id, name:$name';
  }
}
